fetchStreetViewData

suspend fun fetchStreetViewData(latLng: LatLng, apiKey: String): Status

This function will check whether a location is available on StreetView or not.

Return

A Status value specifying if the location is available on Street View or not, whether the used key is a right one, or any other error.

Parameters

latLng

Location to check

apiKey

Maps API Key